package com.mifengs.mall.event;

/**
 * Created by lihaoqi on 2017/11/9.
 */

public class MainEvent {

    public static final int TOHOMEPAGE = 1;

    public static final int LOGINTRELOAD = 2;

    public static final int TOSHOPCART = 3;

    public static final int TOCATEGORY = 4;

    public static final int TOMY = 5;

    public static final int APPLAUNCH = 6;

    public static final int OPENSHOP = 7;

    public static final int LOGIN = 8;

    public static final int MYMESSAGE = 9;

    public int action;

    public int amount;

    public MainEvent(int action) {
        this.action = action;
    }
    public MainEvent() {}

    public int getAmount() {
        return amount;
    }

    public void setAmount(int amount) {
        this.amount = amount;
    }
}
